\hypertarget{structsc2_1_1_weapon}{}\section{sc2\+:\+:Weapon Struct Reference}
\label{structsc2_1_1_weapon}\index{sc2\+::\+Weapon@{sc2\+::\+Weapon}}


\hyperlink{classsc2_1_1_unit}{Unit} weapon.  




{\ttfamily \#include $<$sc2\+\_\+data.\+h$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a5ac5271d54e35bca7116578a00d86276}\label{structsc2_1_1_weapon_a5ac5271d54e35bca7116578a00d86276}} 
enum {\bfseries Target\+Type} \{ {\bfseries Ground} = 1, 
{\bfseries Air} = 2, 
{\bfseries Any} = 3, 
{\bfseries Invalid} = 4
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a7489faf0444c6b3110d7609065242dc4}\label{structsc2_1_1_weapon_a7489faf0444c6b3110d7609065242dc4}} 
void {\bfseries Read\+From\+Proto} (const S\+C2\+A\+P\+I\+Protocol\+::\+Weapon \&weapon)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a01a16b93a7ebf597ab92819f1983058f}\label{structsc2_1_1_weapon_a01a16b93a7ebf597ab92819f1983058f}} 
Target\+Type {\bfseries type}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_ae0eb020a8b5df534b5921445a5148a7e}\label{structsc2_1_1_weapon_ae0eb020a8b5df534b5921445a5148a7e}} 
float {\bfseries damage\+\_\+}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a2c6805c104afc8e5f7351fadfed662c7}\label{structsc2_1_1_weapon_a2c6805c104afc8e5f7351fadfed662c7}} 
std\+::vector$<$ \hyperlink{structsc2_1_1_damage_bonus}{Damage\+Bonus} $>$ {\bfseries damage\+\_\+bonus}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a94f96140ceda50d81831f25880ecb53d}\label{structsc2_1_1_weapon_a94f96140ceda50d81831f25880ecb53d}} 
uint32\+\_\+t {\bfseries attacks}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a2e1f8b010cb5f427893e0441ba04e557}\label{structsc2_1_1_weapon_a2e1f8b010cb5f427893e0441ba04e557}} 
float {\bfseries range}
\item 
\mbox{\Hypertarget{structsc2_1_1_weapon_a36a66499bcad3c59386f861fb439bab0}\label{structsc2_1_1_weapon_a36a66499bcad3c59386f861fb439bab0}} 
float {\bfseries speed}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classsc2_1_1_unit}{Unit} weapon. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/sc2\+\_\+data.\+h\end{DoxyCompactItemize}
